home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database Designers / Rational Rose 2000 / Rational Setup.EXE / common / OutOfTheBox / synchronizer rules / tr_requirement_to_test_script.rsd < prev    next >
Encoding:
Text File  |  1998-11-23  |  900 b   |  26 lines

  1. # File:        tr_requirement_to_test_script.rsd
  2. # Purpose:    Sample rule to create a test script in a Rational Test domain
  3. #        project that corresponds to a test requirement in a Rational
  4. #        RequisitePro domain project. This rule associates the test 
  5. #        script with the requirement when viewed in the Rational
  6. #        TestManager.
  7.  
  8. ###############################################################################
  9. begin rule "Create Test Script from Test requirement"
  10.  
  11. description
  12. {
  13. For each test requirement in the RequisitePro domain that has the attribute
  14. AutoTest set to True, create a test script object in the Rational Test domain.
  15. }
  16.  
  17.     projects RequisitePro to TestStudio
  18.     items "Test Requirement Type" to Script
  19.     properties
  20.         source.Text init target.Name
  21.         source."Test Notes" to target."Description"
  22.         source.Object init target.Requirement
  23.     applies when AutoTest = "True"
  24.  
  25. end rule
  26.